package sedev.shopping.entities;

// Generated Nov 9, 2011 10:06:30 PM by Hibernate Tools 3.4.0.CR1

/**
 *             This class BinhLuan
 *         
 */
public class BinhLuan implements java.io.Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	public static final String Table = "sedev_binh_luan";
	private Long id;
    private Long binhLuanId;
    private Long userId;
    private Long sanPhamId;
    private String noiDung;
    private Long ngayDang;

   public BinhLuan() {
   }

   public BinhLuan(Long binhLuanId, Long userId, Long sanPhamId, String noiDung, Long ngayDang) {
      this.binhLuanId = binhLuanId;
      this.userId = userId;
      this.sanPhamId = sanPhamId;
      this.noiDung = noiDung;
      this.ngayDang = ngayDang;
   }
  
   public Long getId() {
       return this.id;
   }
   
   public void setId(Long id) {
       this.id = id;
   }
   public Long getBinhLuanId() {
       return this.binhLuanId;
   }
   
   public void setBinhLuanId(Long binhLuanId) {
       this.binhLuanId = binhLuanId;
   }
   public Long getUserId() {
       return this.userId;
   }
   
   public void setUserId(Long userId) {
       this.userId = userId;
   }
   public Long getSanPhamId() {
       return this.sanPhamId;
   }
   
   public void setSanPhamId(Long sanPhamId) {
       this.sanPhamId = sanPhamId;
   }
   public String getNoiDung() {
       return this.noiDung;
   }
   
   public void setNoiDung(String noiDung) {
       this.noiDung = noiDung;
   }
   public Long getNgayDang() {
       return this.ngayDang;
   }
   
   public void setNgayDang(Long ngayDang) {
       this.ngayDang = ngayDang;
   }

   public static enum Properties{
		id
		,binh_luan_id
		,user_id
		,san_pham_id
		,noi_dung
		,ngay_dang	
	}
}
